class CreateProfiles < ActiveRecord::Migration
  def self.up
    create_table :profiles do |t|
      t.references :user
      t.string :nick_name
      t.integer :age
      t.string :email
      t.text :comment
      t.string :avatar
      t.datetime :birth_day

      t.timestamps
    end
  end

  def self.down
    drop_table :profiles
  end
end
